﻿@model SportMeetingPlanner.Models.Sport
@{
    ViewBag.Title = "Details";
}
<div class="section">
    <table cellspacing="0" class="listTable">
        <tr>
            <td class="headerColumn" colspan="2">
                Details for @Model.Name
            </td>
        </tr>
        <tr>
            <td>
                <br />
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td class="leftColumn">
                Name
            </td>
            <td class="rightColumn">
                @Html.DisplayFor(model => model.Name)
            </td>
        </tr>
        <tr>
            <td class="leftColumn">
                MinPlayers
            </td>
            <td class="rightColumn">
                @Html.DisplayFor(model => model.MinPlayers)
            </td>
        </tr>
        <tr>
            <td>
                <br />
            </td>
            <td>
            </td>
        </tr>
        <tr class="link" onclick="DoNav('@Url.Content("~/SportManager/Edit?Id=" + Model.SportId)');">
            <td colspan="2" class="leftColumn">
                Edit
            </td>
        </tr>
        <tr class="link">
            <td colspan="2" class="leftColumn">
                @Html.ActionLink("Delete", "Delete", new { id = Model.SportId })
            </td>
        </tr>
        <tr class="back">
            <td class="leftColumn" colspan="2">
                @Html.ActionLink("Back", "Index")
            </td>
        </tr>
    </table>
</div>
